#version 460 core
in vec3 iVertex;
in vec3 iInstancedVertex;
uniform mat4 osg_ModelViewProjectionMatrix;

void main() {
	vec3 pos = iVertex + iInstancedVertex;
	gl_Position =  osg_ModelViewProjectionMatrix * vec4(pos, 1.0);
}